<script>
if(self==top) window.open("?op=core&fp=logout","_top");

function date(Did){
  switch(Did){
  case 0:location.reload("?op=member&fp=history&begin={calLastWeek1}&end={calLastWeek2}&check=1");break;
  case 1:location.reload("?op=member&fp=history&begin={calThisWeek1}&end={today}&check=2");break;
  case 2:location.reload("?op=member&fp=history&begin={minday}&end={today}&check=3");break;
  default:location.reload("?op=member&fp=history");
  }
}
</script>
<style>
.colorBtn01{
  cursor:none;
  font-weight:normal;
}
.head1 a {
	text-decoration: none;
}

</style>

<link href="/tpl/static/bootstrap/css/bootstrap.css?ver=1221" rel="stylesheet" type="text/css">
<script src="/tpl/static/js/jquery.3.1.1.min.js?ver=0227"></script>
<script src="/tpl/static/bootstrap/js/bootstrap.min.js"></script>

<div class="container-fluid">
	<div class="row">
		<div class="col-sm-12">
			<div class="panel panel-default">
				<!-- Default panel contents -->
				<div class="panel-body ">
					<div class="row">
						<div class="col-sm-3">
							<span style="padding:8px 0px 0px 5px;" class=head1>{{L_HISTORY}}&nbsp;│【日期选择】：</span>
						</div>
						<div class="col-sm-6">
				<span style="padding:4px 0px 0px 5px;" class=head1>
			  <a class="btn btn-default" href="?op=member&fp=history&begin={calLastWeek1}&end={calLastWeek2}&check=1">上周</a>
			  <a class="btn btn-default" href="?op=member&fp=history&begin={calThisWeek1}&end={today}&check=2">本周</a>
			  <a class="btn btn-default" href="?op=member&fp=history&begin={minday}&end={today}&check=3">全部</a>
			 </span>
						</div>
						<div class="col-sm-3">
							<span style="padding:5px 8px 4px 0px;" class=head2>{slcList}&nbsp;&nbsp;&nbsp;<a class="btn btn-default" style="width: 40px; height: 33px; line-height: 33px; padding: 0 0; text-decoration: none;" href="javascript:window.print()">列印</a></span>
						</div>
					</div>

					<div class="row">
						<div class="col-sm-12" style="padding: 5px 15px;">
							<!-- Table -->
							<table class="table table-striped" >
								<tr style="font-weight: 700;">
									<td>开奖日期&nbsp;【{begin}&nbsp;~&nbsp;{end}】</td>
									<td>期数</td>
									<td align=left>{{L_BETAMOUNT}}</td>
									<td align=left>退水</td>
									<td align=left>结果</td>
									<!--
                                    <td align=right>合计</td>
                                    -->
								</tr>
								{list0}
								<tr >
									<td colspan=2 align=right>合计</td>
									<td align=left >{sum_amount}</td>
									<td align=left >{sum_back1}</td>
									<td align=left >{sum_result}</td>
									<!--
                                    <td align=right >{sum_all}</td>
                                    -->
								</tr>
							</table>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
</div>



